Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add remix command "setFile" #1550

Merged
merged 4 commits into from
Oct 18, 2018
Merged

Add remix command "setFile" #1550

merged 4 commits into from
Oct 18, 2018

Conversation

yann300
Copy link
Collaborator

@yann300 yann300 commented Oct 14, 2018

No description provided.

provider.set(path, content, (error) => {
if (error) return cb(error)
this._deps.fileManager.syncEditor(path)
cb()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line probably needs to be if (cb) { cb() }

Suggested change
cb()
if (cb) { cb() }

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i put the change above, so that apply to the function

Copy link
Collaborator

@LianaHus LianaHus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@yann300 yann300 merged commit b95fc58 into master Oct 18, 2018
@axic axic deleted the addRemixCommands branch November 14, 2018 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants